package game;

public class Sun implements ProduceEnergy {
    @Override
    public int produce() {
    	int energy = 0;
       //结合 speedProduce() 控制能量生成
    	return energy;
    }
    
    public int speedProduce() {
    	int speed = 10;
    	//制定生产能量的速度
    	
    	
    	
    	return speed;
    }
}
